package com.lelefly.base.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * UavMissionTj entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "uav_mission_tj", catalog = "lelefly")
public class UavMissionTj implements java.io.Serializable {

	// Fields

	private Integer id;
	private String uavNm;
	private String takeOffTime;
	private String endTime;
	private String missionEara;
	private String loandlat;

	// Constructors

	/** default constructor */
	public UavMissionTj() {
	}

	/** minimal constructor */
	public UavMissionTj(String uavNm) {
		this.uavNm = uavNm;
	}

	/** full constructor */
	public UavMissionTj(String uavNm, String takeOffTime, String endTime,
			String missionEara, String loandlat) {
		this.uavNm = uavNm;
		this.takeOffTime = takeOffTime;
		this.endTime = endTime;
		this.missionEara = missionEara;
		this.loandlat = loandlat;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "uav_nm", nullable = false)
	public String getUavNm() {
		return this.uavNm;
	}

	public void setUavNm(String uavNm) {
		this.uavNm = uavNm;
	}

	@Column(name = "take_off_time")
	public String getTakeOffTime() {
		return this.takeOffTime;
	}

	public void setTakeOffTime(String takeOffTime) {
		this.takeOffTime = takeOffTime;
	}

	@Column(name = "end_time")
	public String getEndTime() {
		return this.endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	@Column(name = "mission_eara")
	public String getMissionEara() {
		return this.missionEara;
	}

	public void setMissionEara(String missionEara) {
		this.missionEara = missionEara;
	}

	@Column(name = "loandlat")
	public String getLoandlat() {
		return this.loandlat;
	}

	public void setLoandlat(String loandlat) {
		this.loandlat = loandlat;
	}

}